#include <reg52.h>

#define LED_DROP P2

sbit K3 = P3^1;

void delay(unsigned int ten)
{
	while(ten--);
}

void main()
{
	while(1)
	{
		if(K3==0)
		{
			delay(1000);
			if(K3==0)
			{
				LED_DROP = 0xfe;
			}
		}
		
	}
}